package cn.birdbaby.plugins.annotator;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @author llorando 8/8/24 3:30 pm
 * 上游输入需要生成的注解列表，selector输出注解对应的annotator
 */
@Deprecated
public class AnnotatorSelector {
    public static List<IAnnotator> selectAnnotator(List<String> tasks){
        return tasks.stream().map(AnnotatorRegistry::find).collect(Collectors.toList());
    }
}
